<script setup lang="ts">
import useAdmin from "@/store/modules/admin.ts";
import {getTime} from "@/utils";
import useSettingStore from "@/store/modules/setting.ts";

const adminStore = useAdmin();
// 获取配置仓库
const settingStore = useSettingStore();
</script>

<template>
    <el-card>
        <el-text  size="large">{{adminStore.info?.adminName}}:{{getTime()}}好,欢迎来到{{settingStore.getAppTitle}}！</el-text>
    </el-card>
</template>

<style scoped lang="less">
:deep(.el-card__body){
    padding:15px;
}
</style>